package com.automation.ljf.domain.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 用例执行步骤信息实体
 *
 * @author lijiefeng
 * @since 2021/8/24
 */
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "用例执行步骤信息模型")
public class CaseStepPO implements Serializable {

    private String id;

    @ApiModelProperty(value = "执行顺序id", required = true)
    private Integer stepId;

    @ApiModelProperty(value = "用例步骤名称")
    private String stepName;

    @ApiModelProperty(value = "xpath表达式", required = true)
    private String stepXpath;

    @ApiModelProperty(value = "当前步骤要进行的操作")
    private String stepOperation;

    @ApiModelProperty(value = "是否需要进行输入", required = true)
    private Boolean isInput;

    @ApiModelProperty(value = "关联的步骤")
    private Integer stepRelation;

    @ApiModelProperty(value = "当前窗口句柄")
    private String stepWindow;

    @ApiModelProperty(value = "操作的次数")
    private Integer stepAmount;

    @ApiModelProperty(value = "jsonpath")
    private String stepJsonpath;

    @ApiModelProperty(value = "预期结果", required = true)
    private String expectResult;

    @ApiModelProperty(value = "所属用例id")
    private String caseId;

    @ApiModelProperty(value = "创建时间", required = true)
    private Date createTime;

    @ApiModelProperty(value = "修改时间", required = true)
    private Date updateTime;

}
